package com.jiayu.seckilldemo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jiayu.seckilldemo.pojo.Goods;
import com.jiayu.seckilldemo.vo.GoodsVo;

import java.util.List;

/**
 * <p>
 * 商品表 Mapper 接口
 * </p>
 *
 * @author jiayu
 * @since 2022-07-20
 */
public interface GoodsMapper extends BaseMapper<Goods> {
    List<GoodsVo> findGoodsVo();

    /**
     * 根据goodsid找goodsvo
     * @param goodsId
     * @return
     */
    GoodsVo findGoodVoByGoodsId(Long goodsId);

}
